<template>
  <div>
    <!-- 地区检索 -->
    <label>关键词：<input v-model="keyword"></label>
    <label>地区：<input v-model="location"></label>
    <baidu-map>
      <bm-view class="bm-view"></bm-view>
      <bm-local-search :keyword="keyword" :auto-viewport="true" :location="location"></bm-local-search>
    </baidu-map>
  </div>
</template>


<script>
export default {
  name: 'HmElementPcApp',


  data () {
    return {
      location: '北京',
      keyword: '百度'
    }
  }
}
</script>


<style lang="less" scoped>
.bm-view {
  width: 100%;
  height:600px;
}


</style>